package com.swinboo.im.entity.param;

import com.huang.entity.request.ParamCheck;
import com.huang.entity.request.ParamCheckUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Swinboo
 * @date 2022-03-19 14:00
 * @description:
 */
@Data
public class UpadteEMUserPasswordParam implements ParamCheck {

    @ApiModelProperty("")
    private String username;
    private String password;

    @Override
    public void check() {
        ParamCheckUtils.userNameCheck(username, "用户名不合法");

    }
}
